package com.szzg10.pattern.decorate;

public class Suger implements Beverage {

	private Beverage beverage;
	
	public Suger(Beverage beverage) {
		this.beverage = beverage;
	}
	
	@Override
	public int getPrice() {
		return beverage.getPrice() + 2;
	}

	@Override
	public String getName() {
		return beverage.getName() + ", Suger";
	}

}
